home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / upc12bs2.zip / UTIL / util.mak < prev    next >
Text File  |  1993-09-26  |  2KB  |  91 lines

  1. # *--------------------------------------------------------------------*
  2. # *     u t i l . m a k                                                *
  3. # *                                                                    *
  4. # *   Changes Copyright (c) 1989-1993 by Kendra Electronic             *
  5. # *   Wonderworks.                                                     *
  6. # *                                                                    *
  7. # *   All rights reserved except those explicitly granted by the       *
  8. # *   UUPC/extended license agreement.                                 *
  9. # *--------------------------------------------------------------------*
  10.  
  11. #     $Id: util.mak 1.4 1993/09/27 00:44:27 ahd Exp $
  12. #
  13. #     Revision history:
  14. #     $Log: util.mak $
  15. # Revision 1.4  1993/09/27  00:44:27  ahd
  16. # Correct build of small .com files.
  17. #
  18. # Revision 1.3  1993/09/20  04:36:42  ahd
  19. # TCP/IP support from Dave Watt
  20. # 't' protocol support
  21. # BC++ 1.0 for OS/2 support
  22. #
  23. # Revision 1.2  1993/07/31  16:21:21  ahd
  24. # Windows 3.x support
  25. #
  26.  
  27. !include $(UUPCDEFS)
  28.  
  29. !if $(NDEBUG)
  30. LINKOPT=$(LINKOPTN)
  31. !else
  32. LINKOPT=$(LINKOPTD)
  33. !endif
  34.  
  35. .path.c = $(UTIL)
  36.  
  37. .c.obj:
  38.   $(CC) $(CCX) -I$:{ $<}
  39.  
  40. .c.com:
  41.         $(CC) -c- -mt -lt -v- $(CCX) -n$(SRC) $< $(UUPCLIB)
  42.         del $(@:.com=.obj)
  43.  
  44. fmt$(PSUFFIX).exe:  $(UUPCCFG) $(OBJ)\fmt.obj $(LIBRARIES)
  45.         $(LINKER) $(LINKOPT) @&&|
  46. $(STARTUP)+
  47. $(OBJ)\fmt.obj
  48. $<
  49. $(MAP)
  50. $(LIBRARY)
  51. |
  52. !if !$d(__OS2__)
  53.         tdstrip -s $<
  54. !endif
  55.  
  56. gensig$(PSUFFIX).exe:  $(UUPCCFG) $(OBJ)\gensig.obj $(LIBRARIES)
  57.         $(LINKER) $(LINKOPT) @&&|
  58. $(STARTUP)+
  59. $(OBJ)\gensig.obj
  60. $<
  61. $(MAP)
  62. $(LIBRARY)
  63. |
  64. !if !$d(__OS2__)
  65.         tdstrip -s $<
  66. !endif
  67.  
  68. novrstrk.exe:  $(UUPCCFG) $(OBJ)\novrstrk.obj $(LIBRARIES)
  69.         $(LINKER) $(LINKOPT) @&&|
  70. $(STARTUP)+
  71. $(OBJ)\novrstrk.obj
  72. $<
  73. $(MAP)
  74. $(LIBRARY)
  75. |
  76. !if !$d(__OS2__)
  77.         tdstrip -s $<
  78. !endif
  79.  
  80. uupoll$(PSUFFIX).exe: $(UUPCCFG)     $(OBJ)\uupoll.obj $(LIBRARIES)
  81.         $(LINKER) $(LINKOPT) @&&|
  82. $(STARTUP)+
  83. $(OBJ)\uupoll.obj
  84. $<
  85. $(MAP)
  86. $(LIBRARY)
  87. |
  88. !if !$d(__OS2__)
  89.         tdstrip -s $<
  90. !endif
  91.